package com.hm.scala

object If {
  
  def main(args: Array[String]): Unit = {
    var x = 10;
    var a = if(x >0) 1 else 0;
    println(a);
  }
}